@import "../../component/header/header.scss";
@import "../../component/footer/footer.scss";
@import "../../component/m-banner/m-banner.scss";
@import "../../component/login/login.scss";

.teacher {
    padding-top: 40px;
    padding-bottom: 60px;
    ul {
        float: left;
        li {
            margin-bottom: 30px;
        }
        &:not(:nth-of-type(5n)) {
            margin-right: 25px;
        }
    }
}

.teacher-item {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    width: 220px;
    text-align: center;
    padding: 16px 30px 30px 30px;
    box-sizing: border-box;
    img {
        border-radius: 50%;
        width: 100px;
        height: 100px;
    }
    h3 {
        margin: 14px 0;
        color: $l-word;
        font-size: 18px;
    }
    p {
        line-height: 2;
        color: $m-word;
    }
    a {
        display: inline-block;
        background-color: $blue;
        width: 86px;
        line-height: 30px;
        color: white;
        border-radius: 6px;
        margin-top: 24px;
    }
}
